home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_317 / uniq / make.sh < prev    next >
Text File  |  1992-05-06  |  534b  |  24 lines

  1. #
  2. # Make uniq  - GMD 11 Jan 90
  3. #
  4. #    if using Dillon's csh , trigger off a make of uniq by
  5. #    typing 'source make.sh' ; it will generate date.c
  6. #    containing the current date which will be compiled and
  7. #    linked into uniq ( output with usage () )
  8. #
  9. #
  10. echo  "char *MakeDate[] = \"\\" >date.c
  11. date | input a 
  12. echo $a\" ";" >>date.c
  13. date
  14. #
  15. #    for the non-cognoscenti , the above will create date.c
  16. #    containing ( for example ) the equivalent of the following string  :-
  17. #
  18. #    char *MakeDate[] = "Thursday 11-Jan-90 22:40:27" ;
  19. #
  20. #
  21. make uniq
  22.  
  23.